package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.PortraitPictures;
import com.chaoyi.model.PortraitPicturesSet;

public interface PortraitPicturesService {
	
	int findCount(String type);
	
	List<PortraitPictures> findList(String offset, String limit,String type);
	/**接口使用*/
	List<PortraitPictures> findListPic(String offset, String limit,String type,String picType);

	int addPicturesSave(PortraitPictures entity);

	String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	PortraitPictures findPicturesOne(int id);

	int alertPicturesSave(PortraitPictures entity);

	int deletePictures(int id);
	
	int deletePicturesSetParentId(int parentId);
	
	int addPicturesSetSave(PortraitPicturesSet entity);
	
	List<PortraitPicturesSet> picturesSetList(int parentId);
	
	int deletePicturesSetId(int id);

}
